/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jiadakeji.ppm.modules.business.entity;

import org.hibernate.validator.constraints.Length;

import com.jiadakeji.ppm.common.persistence.DataEntity;

/**
 * 房屋类型价格Entity
 * @author HHAOYU
 * @version 2019-07-09
 */
public class RoomTypePrice extends DataEntity<RoomTypePrice> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 名称
	private String communityId;		// 小区id
	private Double avgElecPrice;		// 均摊电费
	private String avgElecIsFix;		// avg_elec_is_fix
	private Double avgWaterPrice;		// 均摊水费
	private String avgWaterIsFix;		// avg_water_is_fix
	private Double manageFeePrice;		// 物业管理费单价（平方）
	private String manageFeeIsFix;		// manage_fee_is_fix
	private Double secondPushElecPrice;		// 二次加压水用电价
	private String secondPushIsFix;
	private Double elevatorPrice;		// 电梯费
	private String elevatorIsFix;

	private Community community;
	
	public RoomTypePrice() {
		super();
	}

	public RoomTypePrice(String id){
		super(id);
	}

	@Length(min=0, max=64, message="名称长度必须介于 0 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=32, message="小区id长度必须介于 0 和 32 之间")
	public String getCommunityId() {
		return communityId;
	}

	public void setCommunityId(String communityId) {
		this.communityId = communityId;
	}
	
	public Double getAvgElecPrice() {
		return avgElecPrice;
	}

	public void setAvgElecPrice(Double avgElecPrice) {
		this.avgElecPrice = avgElecPrice;
	}
	
	@Length(min=0, max=1, message="avg_elec_is_fix长度必须介于 0 和 1 之间")
	public String getAvgElecIsFix() {
		return avgElecIsFix;
	}

	public void setAvgElecIsFix(String avgElecIsFix) {
		this.avgElecIsFix = avgElecIsFix;
	}
	
	public Double getAvgWaterPrice() {
		return avgWaterPrice;
	}

	public void setAvgWaterPrice(Double avgWaterPrice) {
		this.avgWaterPrice = avgWaterPrice;
	}
	
	@Length(min=0, max=1, message="avg_water_is_fix长度必须介于 0 和 1 之间")
	public String getAvgWaterIsFix() {
		return avgWaterIsFix;
	}

	public void setAvgWaterIsFix(String avgWaterIsFix) {
		this.avgWaterIsFix = avgWaterIsFix;
	}
	
	public Double getManageFeePrice() {
		return manageFeePrice;
	}

	public void setManageFeePrice(Double manageFeePrice) {
		this.manageFeePrice = manageFeePrice;
	}
	
	@Length(min=0, max=1, message="manage_fee_is_fix长度必须介于 0 和 1 之间")
	public String getManageFeeIsFix() {
		return manageFeeIsFix;
	}

	public void setManageFeeIsFix(String manageFeeIsFix) {
		this.manageFeeIsFix = manageFeeIsFix;
	}
	
	public Double getSecondPushElecPrice() {
		return secondPushElecPrice;
	}

	public void setSecondPushElecPrice(Double secondPushElecPrice) {
		this.secondPushElecPrice = secondPushElecPrice;
	}
	
	public Double getElevatorPrice() {
		return elevatorPrice;
	}

	public void setElevatorPrice(Double elevatorPrice) {
		this.elevatorPrice = elevatorPrice;
	}

	public Community getCommunity() {
		return community;
	}

	public void setCommunity(Community community) {
		this.community = community;
	}

	public String getSecondPushIsFix() {
		return secondPushIsFix;
	}

	public void setSecondPushIsFix(String secondPushIsFix) {
		this.secondPushIsFix = secondPushIsFix;
	}

	public String getElevatorIsFix() {
		return elevatorIsFix;
	}

	public void setElevatorIsFix(String elevatorIsFix) {
		this.elevatorIsFix = elevatorIsFix;
	}
}